package com.shop.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.util.Date;

/**
 * 批发明细表
 * 对应当时批发时的商品各个属性
 * gaodo(BulkGoodsDetail)表实体类
 *
 * @author makejava
 * @since 2020-11-21 10:31:03
 */
@Data
public class BulkGoodsDetail extends Model<BulkGoodsDetail> {
    //批发明细表的该条记录id
    private Integer id;
    //对应商家批发表的id，一个id对应多条商品数据
    private Integer bulkId;
    //对应供应商的商品id
    private Integer goodsId;
    //商品名称
    private String goodsName;
    //该商品的数量
    private Integer goodsCount;
    //该商品在此条订单时的单价
    private Double goodsPrice;
    //商品图片
    private String goodsImage;
    //该商品价格总计
    private Double goodsTotal;
    //该条商品的备注字段
    private String remark;

    private Date createTime;

    private Date updateTime;

    private Integer createUserId;

    private Integer updateUserId;

    private String isDeleted;

    private Integer version;

    private String status;

    private String statusOne;

    private String statusTwo;

    //关联商品属性
    private String goodsUnit;
}
